From 0ca36cef48fc21b0a2c2a17ef310036c1fc051f9 Mon Sep 17 00:00:00 2001 From: justbur Date: Tue, 9 Feb 2016 11:32:20 -0500 Subject: [PATCH] Add missing case for which-key-show-prefix nil is a valid value for this option. --- which-key.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index cf58bfc303b..8934934c082 100644 --- a/which-key.el +++ b/which-key.el @@ -1702,7 +1702,8 @@ including prefix arguments." (cons page (concat full-prefix (when prefix-keys " ") status-line (when status-line " ") - nxt-pg-hint)))))) + nxt-pg-hint))) + (_ (cons page nil))))) (defun which-key--show-page (n) "Show page N, starting from 0." -- 2.30.2